package com;

import java.net.InetSocketAddress;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Mathias
 */
public class SocketConfig {

    private InetSocketAddress server;
    private int myPort;
    private double loss;

    public SocketConfig(InetSocketAddress server, int myPort, double loss){
        this.server = server;
        this.myPort = myPort;
        this.loss = loss;
    }

    /**
     * @return the loss
     */
    public double getLoss() {
        return loss;
    }

    /**
     * @param loss the loss to set
     */
    public void setLoss(double loss) {
        this.loss = loss;
    }

    /**
     * @return the server
     */
    public InetSocketAddress getServer() {
        return server;
    }

    /**
     * @param server the server to set
     */
    public void setServer(InetSocketAddress server) {
        this.server = server;
    }

    /**
     * @return the myPort
     */
    public int getMyPort() {
        return myPort;
    }

    /**
     * @param myPort the myPort to set
     */
    public void setMyPort(int myPort) {
        this.myPort = myPort;
    }

    
}
